package com.py.apis.article;

/**
 * @author pengy
 * @create 2022-11-17 10:59
 */

import com.py.model.user.pojos.ApUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "leadnews-user")
public interface IuserClitent {

    @PostMapping("get")
    public ApUser get(@RequestBody Integer userId);
}
